/*
4. Write a program that reads two positive integer numbers and prints how many numbers p exist between them such that the reminder of the division by 5 is 0 (inclusive). Example: p(17,25) = 2.
*/
using System;

class numbersBetweenInterval
{
    static void Main()
    {
        Console.Write("Enter furst positive number: ");
        uint firstInteger = uint.Parse(Console.ReadLine());
        Console.Write("Enter second positive number: ");
        uint secondInteger = uint.Parse(Console.ReadLine());
        uint numbersP = 0;
        for (uint i = firstInteger; i <= secondInteger; i++)
        {
            if ((i % 5) == 0) numbersP++;
        }
        Console.WriteLine("p\x0028{0},{1}\x0029 = {2}", firstInteger, secondInteger, numbersP);
    }
}